import java.util.HashMap;
import java.util.Iterator;
import java.util.TreeMap;

public class PrintTest {
    public static void main(String[] args) {
        HashMap<String , Object> hashMap = new HashMap<>();
        for (int i = 0; i < 100000 ;i++) {
            hashMap.put(String.valueOf(i) , i);
        }
        int j = 0;
        long start = System.currentTimeMillis();
        for (int i = 0 ;i < 100000 ;i++) {
            hashMap.put("1" , i);
        }
        long end = System.currentTimeMillis();
        System.out.println(end-start);
    }
}
